package my.Interceptor.log;

import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class App {
	public static void main(String[] args) {
		AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(Config.class);
		Work bean = context.getBean(Work.class);
		Person p = bean.doWorkC();
		System.out.println(p);
	}
}
